xen: arm: move boot time fdt parsing into separate file.
authorIan Campbell <ian.campbell@citrix.com>
Fri, 18 Jul 2014 13:08:15 +0000 (14:08 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 21 Jul 2014 11:16:59 +0000 (12:16 +0100)
commite44e79545092ad62ce37172449c1782e7c41ce3c
treee1ee08695115574718039da0e4a081b3d7a1d245
parent0fa40c36742ac01e82d9fb3f5a6be1777b42a008
xen: arm: move boot time fdt parsing into separate file.

Move the early code for walking the flattened device tree out of device_tree.c.
The intention is that eventually only the proper (i.e.  unflattened) device
tree support will live in device_tree.c.

The new home is bootfdt.c to try and better reflect the purpose of the code.
Although in theory this early code could be generic in reality it is pretty ARM
specific, so place it under xen/arch/arm until a second user wants it.

As part of the move rename device_tree_early_init to boot_fdt_info. Drop
device_tree_dump, it is unused.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/arch/arm/Makefile
xen/arch/arm/bootfdt.c [new file with mode: 0644]
xen/arch/arm/setup.c
xen/common/device_tree.c
xen/include/asm-arm/setup.h
xen/include/xen/device_tree.h